package com.iflyteck.handler;

public class ServerInfo {
    private String ip;
    private Integer port;

    // 最后一次调用响应时间
    private long spendTime;

    // 最后一次调用时间
    private long lastCallTime;

    public ServerInfo(String ip,Integer port) {
        this.ip = ip;
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public long getSpendTime() {
        return spendTime;
    }

    public void setSpendTime(long spendTime) {
        this.spendTime = spendTime;
    }

    public long getLastCallTime () {
        return lastCallTime;
    }

    public void setLastCallTime (long lastCallTime) {
        this.lastCallTime = lastCallTime;
    }
}
